home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-1.iso / editor / we16_95g.zip / WEEXTSRC.ZI_ / WE_EXTRC.H < prev   
Text File  |  1994-10-22  |  8KB  |  184 lines

  1. /*
  2.  *  all extension commands fall in this range
  3.  *
  4.  */
  5.  
  6. #define WE_CMDFIRST               WM_USER +  100
  7. #define WE_CMDLAST                WM_USER +  999
  8.  
  9.  
  10.  
  11. /*
  12.  *  all user-defined command IDs must be in this range
  13.  *
  14.  */
  15.  
  16. #define WE_EXTFIRST               WM_USER + 500
  17. #define WE_EXTLAST                WE_CMDLAST
  18.  
  19.  
  20. /*
  21.  *
  22.  *  W M _ C O M M A N D   I D   V A L U E S
  23.  *
  24.  *
  25.  *  Sample use shown in:    SAMPLES\TEMPLATE\WE_EXT.RC
  26.  *
  27.  *
  28.  *  You can define menu items to use
  29.  *  the following internal WinEdit command IDs.  Your DLL
  30.  *  will NOT be called to handle these events.  You can
  31.  *  also use SendMessage() or PostMessage() to send these
  32.  *  command IDs as the wParam value in a WM_COMMAND message
  33.  *  to WinEdit.
  34.  *
  35.  */
  36.  
  37.  
  38. #define IDM_FILENEW                5001             
  39. #define IDM_FILEOPEN               5002             
  40. #define IDM_FILEMERGE              5003             
  41. #define IDM_FILELIST               5004             
  42. #define IDM_FILEDIFF               5005             
  43. #define IDM_FILESAVE               5006             
  44. #define IDM_FILESAVEAS             5007             
  45. #define IDM_FILESAVEALL            5008             
  46. #define IDM_FILEPRINT              5009             
  47. #define IDM_FILEPRINTERSETUP       5010             
  48. #define IDM_FILEPAGESETUP          5011             
  49. #define IDM_FILESETPREF            5012             
  50. #define IDM_FILEKEYS               5013             
  51. #define IDM_FILEEXIT               5014             
  52. #define IDM_EDITUNDO               5015             
  53. #define IDM_EDITREDO               5016             
  54. #define IDM_EDITCUT                5017             
  55. #define IDM_EDITCOPY               5018             
  56. #define IDM_EDITPASTE              5019             
  57. #define IDM_EDITCLEAR              5020             
  58. #define IDM_EDITUP                 5021             
  59. #define IDM_EDITDOWN               5022             
  60. #define IDM_EDITLEFT               5023             
  61. #define IDM_EDITRIGHT              5024             
  62. #define IDM_EDITHOME               5025             
  63. #define IDM_EDITEND                5026             
  64. #define IDM_EDITPAGEUP             5027             
  65. #define IDM_EDITPAGEDOWN           5028             
  66. #define IDM_EDITWORDLEFT           5029             
  67. #define IDM_EDITWORDRIGHT          5030             
  68. #define IDM_EDITTOPOFFILE          5031             
  69. #define IDM_EDITENDOFFILE          5032             
  70. #define IDM_EDITTAB                5033             
  71. #define IDM_EDITBACKTAB            5034             
  72. #define IDM_EDITSELECTALL          5035             
  73. #define IDM_EDITSTARTSELECTION     5036             
  74. #define IDM_EDITENDSELECTION       5037             
  75. #define IDM_EDITSELECTLEFT         5038             
  76. #define IDM_EDITSELECTRIGHT        5039             
  77. #define IDM_EDITSELECTUP           5040             
  78. #define IDM_EDITSELECTDOWN         5041             
  79. #define IDM_EDITSELECTHOME         5042             
  80. #define IDM_EDITSELECTEND          5043             
  81. #define IDM_EDITSELECTPAGEUP       5044             
  82. #define IDM_EDITSELECTPAGEDOWN     5045             
  83. #define IDM_EDITSELECTWORDLEFT     5046             
  84. #define IDM_EDITSELECTWORDRIGHT    5047             
  85. #define IDM_EDITSELECTTOPOFFILE    5048             
  86. #define IDM_EDITSELECTENDOFFILE    5049             
  87. #define IDM_EDITTOGGLEWRAP         5050             
  88. #define IDM_EDITTOGGLEINS          5051             
  89. #define IDM_EDITTOGGLEAUTOINDENT   5052             
  90. #define IDM_EDITBACKSPACE          5053             
  91. #define IDM_EDITCOPYLINE           5054             
  92. #define IDM_EDITCUTLINE            5055             
  93. #define IDM_EDITGOTOLINE           5056             
  94. #define IDM_EDITGOTOCOLUMN         5057             
  95. #define IDM_EDITSETCOLUMNBLOCK     5058             
  96. #define IDM_SEARCHFIND             5059             
  97. #define IDM_SEARCHNEXT             5060             
  98. #define IDM_SEARCHCHANGE           5061             
  99. #define IDM_SEARCHBRACE            5062
  100. #define IDM_SEARCHNEXTERR          5063             
  101. #define IDM_SEARCHPREVERR          5064             
  102. #define IDM_SEARCHVIEWEDOUT        5065             
  103. #define IDM_MACROSTARTRECORD       5066             
  104. #define IDM_COMPILE                5067             
  105. #define IDM_MAKE                   5068             
  106. #define IDM_REBUILD                5069             
  107. #define IDM_DEBUG                  5070              
  108. #define IDM_EXECUTE                5071             
  109. #define IDM_MAKECONFIG             5072             
  110. #define IDM_WINDOWNEW              5073
  111. #define IDM_WINDOWNEXT             5074             
  112. #define IDM_WINDOWMIN              5075             
  113. #define IDM_WINDOWMAX              5076             
  114. #define IDM_WINDOWRESTORE          5077             
  115. #define IDM_WINDOWCLOSE            5078             
  116. #define IDM_WINDOWTILE             5079             
  117. #define IDM_WINDOWCASCADE          5080             
  118. #define IDM_WINDOWICONS            5081             
  119. #define IDM_WINDOWCLOSEALL         5082             
  120. #define IDM_HELPINDEX              5083             
  121. #define IDM_HELPKEYBOARD           5084             
  122. #define IDM_HELPCOMMANDS           5085             
  123. #define IDM_HELPPROCEDURES         5086             
  124. #define IDM_HELPHELP               5087             
  125. #define IDM_HELPKEYWORDS           5088             
  126. #define IDM_HELPABOUT              5089             
  127.  
  128. #define IDM_TOOLBAR                5206
  129.  
  130.  
  131. /*
  132.  *  Request and Notifications message IDs sent to your DLL by
  133.  *  WinEdit.  Check the sample file WE_EXT.C and the
  134.  *  documentation for details on the responses your DLL is
  135.  *  expected to return to WinEdit.
  136.  *
  137.  */
  138.  
  139. #define WEN_LOADMENU               WE_CMDFIRST + 200
  140. #define WEN_GETWINDOWMENU          WE_CMDFIRST + 201
  141. #define WEN_GETMACROMENU           WE_CMDFIRST + 202
  142. #define WEN_LOADSHORTMENU          WE_CMDFIRST + 203
  143. #define WEN_END                    WE_CMDFIRST + 204
  144. #define WEN_LOADACCELS             WE_CMDFIRST + 205
  145. #define WEN_INITMENU               WE_CMDFIRST + 206
  146. #define WEN_MACROSTARTPLAY         WE_CMDFIRST + 207
  147. #define WEN_MACROSTOPPLAY          WE_CMDFIRST + 208
  148. #define WEN_MACROSTARTRECORD       WE_CMDFIRST + 209
  149. #define WEN_MACROSTOPRECORD        WE_CMDFIRST + 210
  150. #define WEN_RBUTTONDOWN            WE_CMDFIRST + 211
  151. #define WEN_RBUTTONDOWNC           WE_CMDFIRST + 212
  152. #define WEN_RBUTTONDOWNS           WE_CMDFIRST + 213
  153. #define WEN_RBUTTONDOWNSC          WE_CMDFIRST + 214
  154.  
  155. /* icon ID values you can use with edAddButton and edDeleteButton */
  156.  
  157. #define IDLEXICON   6    /* main icon              */
  158. #define IDNOTE      2    /* icon for child windows */
  159. #define IDONEUP     4    /* one-up print icon      */
  160. #define IDTWOUP     5    /* two-up print icon      */
  161.  
  162. #define OPEN       48    /* file open              */
  163. #define SAVE       49    /* file save              */
  164. #define PRINT      50    /* file print             */
  165. #define FIND       51    /* find                   */
  166. #define FINDNEXT   52    /* find next              */
  167. #define CHANGE     53    /* change                 */
  168. #define NEXT       54    /* next error             */
  169. #define PREV       55    /* prev error             */
  170. #define COMPILE    56    /* compile                */
  171. #define MAKE       57    /* make                   */
  172. #define REBUILD    58    /* rebuild                */
  173. #define DEBUGICON  59    /* debug                  */
  174. #define EXECUTE    60    /* execute                */
  175. #define CUT        61    /* cut                    */
  176. #define COPY       62    /* copy                   */
  177. #define PASTE      63    /* paste                  */
  178. #define HELPKEY    64    /* key word help          */
  179. #define UNDO       65    /* undo                   */
  180. #define REDO       66    /* redo                   */
  181. #define FILELIST   67    /* filelist               */
  182.  
  183.  
  184.